package com.calciominoBeta.Activity;

import com.calciominoBeta.Entity.OnPauseVdDelegate;

import android.content.Intent;
import android.support.v4.app.Fragment;
import android.widget.Toast;

public class BaseDetailfm extends Fragment implements OnPauseVdDelegate{

	@Override
	public void onPauseVideo() {
		
	}

	@Override
	public void share(String link) {
		if(link==null){
			Toast.makeText(getActivity(), "No data to share", 1).show();
			return;
		}
		Intent share = new Intent(android.content.Intent.ACTION_SEND);
		share.setType("text/plain");
		share.putExtra(Intent.EXTRA_TEXT, link);
		startActivity(Intent.createChooser(share, "CALCIOMINO"));
		
	}
	
	

}
